package com.qf.common.domain.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.common.domain.admin.dos.SysUser;
import com.qf.common.domain.admin.vo.UserPageVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author sin
* @description 针对表【sys_user(用户信息表)】的数据库操作Mapper
* @createDate 2024-10-12 16:52:40
* @Entity com.qf.admin.domain.entity.system.SysUser
*/
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    SysUser selectByUsername(String username);

    List<UserPageVO> queryUser(String username, String mobile, Integer status);

    Long getUserRoleIds(Long userId);

    SysUser getUserByUsername(String username);

    boolean uploadAvatar(String avatar, Long userId);
}




